//
//  OauthView.swift
//  sina
//
//  Created by 江先铨 on 15/11/10.
//  Copyright © 2015年 jxqstatic. All rights reserved.
//

import UIKit


class OauthView: UIViewController {

    let web = UIWebView()
    
    func close() {
    
        dismissViewControllerAnimated(true, completion: nil)
    }
    
    override func loadView() {
     
     view = web
        
     
    }
    
    override func viewDidLoad() {
        
        setUI()
    }
    
    func setUI () {
     
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "关闭", style: .Plain, target: self, action: "close")
    }
}
